/**
 * SchoolpracticeSchoolpractice.java
 * 
 * Created Date: 2014骞�1鏈�4鏃� *				
 * Copyright (c)  Centling Technologies Co., Ltd.
 *
 * This software is the confidential and proprietary information of
 *  Centling Technologies Co., Ltd. ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in accordance
 * with the terms of the license agreement you entered into with
 * Centling Technologies Co., Ltd.
 */
package com.centling.bluecollar.customer.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;


/**
 * @author hellsing  
 *
 */
@Entity
@Table(name="t_schoolPractice") //瀛︽牎瀹炰範璁板綍琛�
public class SchoolPractice {
	private String id;
	private SchoolCustomer schoolCustomer;
	private String practiceMaleNum;
	private String practiceFemaleNum;
	
	private String beginTime;
	
	private String endTime;
	
	private List<EnterpriseCustomer> enterpriseCustoms;//瀹夌疆浼佹キ
	
	private String teacherAndPay;
	
	private String travelExpenses;//璺垂
	
	private String schoolExpenses;//瀛︽牎璐圭敤

	
	

	
	
	/**
	 * @return the id
	 */
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@Id
	@GeneratedValue(generator = "idGenerator")
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {
	
		return id;
	}


	
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
	
		this.id = id;
	}


	/**
	 * @return the schoolCustom
	 */
	@ManyToOne
	@JoinColumn(name = "schoolCustomId")
	public SchoolCustomer getSchoolCustomer() {
	
		return schoolCustomer;
	}

	
	/**
	 * @param schoolCustom the schoolCustom to set
	 */
	public void setSchoolCustomer(SchoolCustomer schoolCustomer) {
	
		this.schoolCustomer = schoolCustomer;
	}

	
	
	/**
	 * @return the practiceMaleNum
	 */
	public String getPracticeMaleNum() {
	
		return practiceMaleNum;
	}



	
	/**
	 * @param practiceMaleNum the practiceMaleNum to set
	 */
	public void setPracticeMaleNum(String practiceMaleNum) {
	
		this.practiceMaleNum = practiceMaleNum;
	}



	
	/**
	 * @return the practiceFemaleNum
	 */
	public String getPracticeFemaleNum() {
	
		return practiceFemaleNum;
	}



	
	/**
	 * @param practiceFemaleNum the practiceFemaleNum to set
	 */
	public void setPracticeFemaleNum(String practiceFemaleNum) {
	
		this.practiceFemaleNum = practiceFemaleNum;
	}



	
	/**
	 * @return the beginTime
	 */
	public String getBeginTime() {
	
		return beginTime;
	}



	
	/**
	 * @param beginTime the beginTime to set
	 */
	public void setBeginTime(String beginTime) {
	
		this.beginTime = beginTime;
	}



	
	/**
	 * @return the endTime
	 */
	public String getEndTime() {
	
		return endTime;
	}



	
	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(String endTime) {
	
		this.endTime = endTime;
	}



	/**
	 * @return the enterpriseCustoms
	 */
	@Transient
	public List<EnterpriseCustomer> getEnterpriseCustoms() {
	
		return enterpriseCustoms;
	}

	
	/**
	 * @param enterpriseCustoms the enterpriseCustoms to set
	 */
	public void setEnterpriseCustoms(List<EnterpriseCustomer> enterpriseCustoms) {
	
		this.enterpriseCustoms = enterpriseCustoms;
	}

	
	/**
	 * @return the teacherAndPay
	 */
	@Column(length = 255)
	public String getTeacherAndPay() {
	
		return teacherAndPay;
	}

	
	/**
	 * @param teacherAndPay the teacherAndPay to set
	 */
	public void setTeacherAndPay(String teacherAndPay) {
	
		this.teacherAndPay = teacherAndPay;
	}

	

	
	
	/**
	 * @return the travelExpenses
	 */
	public String getTravelExpenses() {
	
		return travelExpenses;
	}



	
	/**
	 * @param travelExpenses the travelExpenses to set
	 */
	public void setTravelExpenses(String travelExpenses) {
	
		this.travelExpenses = travelExpenses;
	}



	
	/**
	 * @param schoolExpenses the schoolExpenses to set
	 */
	public void setSchoolExpenses(String schoolExpenses) {
	
		this.schoolExpenses = schoolExpenses;
	}



	
	/**
	 * @return the schoolExpenses
	 */
	public String getSchoolExpenses() {
	
		return schoolExpenses;
	}




}
